package net.zjitc.service;

import net.zjitc.pojo.Admin;

import java.security.NoSuchAlgorithmException;

public interface AdminService {

    public Admin login (Admin admin) throws NoSuchAlgorithmException;
    public Admin getAdmin(String token);
    public Integer updateAdmin(Admin admin) throws NoSuchAlgorithmException;
    public Integer updateAvatar(Admin admin);
}
